package by.averianov.discounta.dataaccess;

import java.util.List;

import javax.persistence.metamodel.SingularAttribute;

import by.averianov.discounta.datamodel.Shop;

public interface ShopDao extends AbstractDao<Long, Shop> {
	
	List<Shop> getAllShop(SingularAttribute<Shop, ?> attr, boolean ascending, int startRecord, int pageSize);
	
	List<Shop> getShopsByUserId(Long userId);

}
